package com.iotp.entity.knowledge_type;

import lombok.Data;


public class KnowledgeType {
    private Long id;

    private Long parentId;

    private int level;

    private String typeCode;

    private String typeName;

    private String description;

    private Long createTime;

    private Long updateTime;

    public KnowledgeType() {
    }

    public KnowledgeType(Long id, Long parentId, int level, String typeCode, String typeName, String description, Long createTime, Long updateTime) {
        this.id = id;
        this.parentId = parentId;
        this.level = level;
        this.typeCode = typeCode;
        this.typeName = typeName;
        this.description = description;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }
}